import request from '@/utils/request'

export function List(query) {
  return request({
    url: '/honors/list',
    method: 'get',
    params: query
  })
}

export function Save(data) {
  return request({
    url: '/honors/save',
    method: 'post',
    data
  })
}

export function Status(data) {
  return request({
    url: '/honors/status',
    method: 'put',
    data
  })
}

export function Sort(data) {
  return request({
    url: '/honors/sort',
    method: 'put',
    data
  })
}

export function Del(query) {
  return request({
    url: '/honors/del',
    method: 'delete',
    params: query
  })
}

export function FixedStatus(data) {
  return request({
    url: '/honors/fixedChange',
    method: 'put',
    data
  })
}
